package com.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schedule.common.R;
import com.schedule.entity.User;
import com.schedule.mapper.UserMapper;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends IService<User>  {
    //用户登录
    R<User> login(User user, HttpServletRequest request);

    //用户注册
    R<User> register(User user);

    R<User> update(User user);
}
